<template>
    <div class="form-title" :data-font="$i18n.locale">{{ title }}</div>
</template>

<script>
export default {
    name: "form-title",
    props: {
        title: {
            type: String,
            default: ''
        }
    }
}
</script>

<style lang="less" scoped>
.form-title {
    font-size: 0.59rem;
    color: #212121;
    line-height: 0.96rem;
}

.form-title[data-font='zh'] {
    font-family: 'IdeaFonts-DianHei-CEJ', 'IdeaFonts-DianHei';
    font-weight: normal;
}

.form-title[data-font='en'] {
    font-family: 'Helvetica-Bold', 'Helvetica';
    font-weight: bold;
}
</style>